<?php /* Smarty version 2.6.18, created on 2011-08-11 21:37:03
         compiled from them_moi_par_fdintcddetail.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Them moi lien ket')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" name ="tongquat" target="_self">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="13%"><input name="button" type="button" class="button_style" onclick="history.back();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" /></td>
      <td align="right" nowrap="nowrap" colspan="3"><select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
        
 <?php $_from = $this->_tpl_vars['chuyentrang1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
        
 	<?php endforeach; endif; unset($_from); ?>

      </select>
          <input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'"/></td>
    </tr>
    <tr>
      <td colspan="4"><hr /></td>
    </tr>
    <tr>
      <td><?php echo $this->_tpl_vars['lbl_maKH']; ?>
</td>
      <td><input name="TERMINTCD" id="TERMINTCD" type="text" style="background:<?php echo $this->_tpl_vars['colorTERMINTCD']; ?>
" value="<?php echo $this->_tpl_vars['TERMINTCD']; ?>
" size="20" maxlength="10" />
          <span style="color:#FF0000">*</span></td>
      <td> <?php echo $this->_tpl_vars['lbl_TrangThai']; ?>
</td>
	  <td><span style="color:#FF0000">
      <select name="STATUS" size="1" style="width:150px;" disabled="disabled">
        
          
	      
      <?php $_from = $this->_tpl_vars['cbo_STATUS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  	
	      
          
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeSTATUS']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
        
          
	      
      <?php endforeach; endif; unset($_from); ?>
    
        
        
      </select>
      </span></td>
    </tr>
    <tr>
      <td><?php echo $this->_tpl_vars['lbl_KyHanTu']; ?>
</td>
      <td width="23%"><input name="FRMTERM" id="FRMTERM" type="text" value="<?php echo $this->_tpl_vars['FRMTERM']; ?>
" style="background:<?php echo $this->_tpl_vars['colorFRMTERM']; ?>
; text-align:right"  size="3" maxlength="5" onkeypress="return numberOnly(event);"/>
          <select name="FRMTERMCD" size="1" >
            
    <?php $_from = $this->_tpl_vars['cboTERMCD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
     
            <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FRMTERMCD']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
            
    <?php endforeach; endif; unset($_from); ?>
    
          </select>
          <span style="color:#FF0000">*</span> </td>
      <td><?php echo $this->_tpl_vars['lbl_KyHanDen']; ?>
 </td>
      <td width="52%"><input name="TOTERM" id="TOTERM" type="text" value="<?php echo $this->_tpl_vars['TOTERM']; ?>
" style="background:<?php echo $this->_tpl_vars['colorTOTERM']; ?>
; text-align:right" size="3" maxlength="5" onkeypress="return numberOnly(event);"/>
          <select name="TOTERMCD" size="1">
            
        
        <?php $_from = $this->_tpl_vars['cboTERMCD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
        
        
            <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TOTERMCD']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
            
        
        <?php endforeach; endif; unset($_from); ?>
      
      
          </select>
          <span style="color:#FF0000">*</span> </td>
    </tr>
    <tr>
      <td><?php echo $this->_tpl_vars['lbl_LaiSuat']; ?>
</td>
      <td><input name="INTRATE" type="text" style="background:<?php echo $this->_tpl_vars['colorlaisuat']; ?>
; text-align:right" value="<?php echo $this->_tpl_vars['INTRATE']; ?>
" size="20" maxlength="12" onblur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/></td>
	  <td><?php echo $this->_tpl_vars['lbl_MaLaiSuat']; ?>
</td>
	  <td><input name="INTRATECD" id="INTRATECD" type="text" style="background:<?php echo $this->_tpl_vars['colormaLS']; ?>
" value="<?php echo $this->_tpl_vars['INTRATECD']; ?>
" size="20" maxlength="5" />
          <span style="color:#FF0000">*</span>
          <input type="button" onclick="mywindow = window.open('lai_suat_id.php?name=INTRATECD', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat" id="replacement_binoculars" value="     " /></td>
    </tr>
    <tr>
      <td><?php echo $this->_tpl_vars['lbl_SanPham']; ?>
</td>
      <td colspan="3"><span style="color:#FF0000">
        <select id="PRDCODE" name="PRDCODE" size="1"  style="background:<?php echo $this->_tpl_vars['colorPRDCODE']; ?>
;">
		<option value=""></option>	
		<?php $_from = $this->_tpl_vars['cbo_PRDCODE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>  
			
          <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['PRDCODE'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
	    <?php endforeach; endif; unset($_from); ?>  
      
      
        
        </select>
        *
  <input type="hidden" value="<?php echo $this->_tpl_vars['PRDCODE']; ?>
" id="PRDCODEtmp" name="PRDCODEtmp" />
      </span></td>
    </tr>
    <tr>
      <td nowrap="nowrap">&nbsp;</td>
      <td colspan="3" style="color:#FF0000" nowrap="nowrap">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="4"><p></p>
          <p></p></td>
    </tr>
    <tr>
      <td colspan="4" align="right"><input type="submit" name="capnhat" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'"  /></td>
    </tr>
    <tr>
      <td colspan="4"><hr /></td>
    </tr>
    <tr>
      <td ><input name="button2" type="button" class="button_style" onclick="history.back();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" /></td>
      <td align="right" nowrap="nowrap" colspan="3"><select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
        
 <?php $_from = $this->_tpl_vars['chuyentrang1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
        
 	<?php endforeach; endif; unset($_from); ?>

      </select>
          <input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'"/></td>
    </tr>
  </table>
</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>